import request from '@/utils/request'

export function getMenuList() {
  return request({
    url: '/app/peis/main-menu',
    method: 'get'
  })
}

export function fetchArticle(id) {
  return request({
    url: '/vue-element-admin/article/detail',
    method: 'get',
    params: { id }
  })
}
